package com.zm.demo.disruptor.log;

import com.lmax.disruptor.EventHandler;

/**
 * @author z01140
 * @Package: com.zm.demo.disruptor.log
 * @Description:
 * @CreateDate 2023/8/29 14:57
 * @UpdateDate 2023/8/29 14:57
 */
public class LogEventHandler1 implements EventHandler<LogEvent> {
    @Override
    public void onEvent(LogEvent event, long sequence, boolean endOfBatch) throws Exception {
        System.out.println("消费1：event=" + event + " " + Thread.currentThread().getName());
    }
}
